package br.edu.ufcg.lsd.wbis.ui.client.ui.loggedin.admin;

import br.edu.ufcg.lsd.wbis.ui.client.beans.UserInfo;
import br.edu.ufcg.lsd.wbis.ui.client.ui.loggedin.admin.home.HomeTab;
import br.edu.ufcg.lsd.wbis.ui.client.ui.management.InfoManager;

import com.gwtext.client.widgets.TabPanel;

/**
 * @author Renato Miceli
 */
public class CenterPanel extends TabPanel {

	public CenterPanel(InfoManager<UserInfo> infoManager) {

		this.setDeferredRender(false);
		this.setActiveTab(0);
		this.setEnableTabScroll(true);

		HomeTab fixedPanel = new HomeTab(this, infoManager);
		this.add(fixedPanel);
	}

}
